Skip to content

feat: 만료 앨범 강제 이동 추가 - #213

Merged
dasosann merged 2 commits into
mainfrom
fix/expired-entry
May 29, 2026
Merged

feat: 만료 앨범 강제 이동 추가#213
dasosann merged 2 commits into
mainfrom
fix/expired-entry

Conversation

@dasosann

Copy link
Copy Markdown
Contributor

요약

구현 사항

  • 만료 앨범 초대링크 들어왔을때 4cut링크로
  • [ ]
  • [ ]
  • [ ]

📸 스크린샷

Need Review

  • ~ 부분 이렇게 구현했어요, 피드백 부탁해요!

Reference

📜 리뷰 규칙

Reviewer는 아래 P5 Rule을 참고하여 리뷰를 진행합니다.
P5 Rule을 통해 Reviewer는 Reviewee에게 리뷰의 의도를 보다 정확히 전달할 수 있습니다.

  • P1: 꼭 반영해주세요 (Comment)
  • P2: 적극적으로 고려해주세요 (Comment)
  • P3: 웬만하면 반영해 주세요 (Comment)
  • P4: 반영해도 좋고 넘어가도 좋습니다 (Approve)
  • P5: 그냥 사소한 의견입니다 (Approve)

@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fe Ready Ready Preview, Comment May 29, 2026 4:30am

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an expiration check for album invitations on both the album detail and entry pages, redirecting users to a 4-cut album page if expired. It also adds albumId to a useEffect dependency array in ScreenAlbumDetail.tsx. The reviewer identified a critical issue where calling Next.js's redirect() inside a try-catch block catches the internal NEXT_REDIRECT error, which prevents the redirect from functioning. The reviewer provided actionable code suggestions to move the redirect logic outside of the try-catch blocks in both page files.

Comment thread src/app/album/detail/[albumId]/page.tsx
Comment thread src/app/album/entry/[albumId]/page.tsx
@dasosann
dasosann merged commit b978294 into main May 29, 2026
4 checks passed
@dasosann
dasosann deleted the fix/expired-entry branch May 29, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant